<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
    .log_sum {
        background: #ffffff;
        border-radius: 10px;
        position: absolute;
        top: 50%;
        left: 50%;
        width: 300px;
        height: 150px;
        text-align: center;
        z-index:100;
        transform: translate(-50%, -50%);
        -webkit-transform: translate(-50%, -50%);
    }

    .log_sum .log1 {
        line-height: 100px;
        font-size: 20px;
    }

    .log_sum .log2 {
        display: block;
        color: #586b95;
        font-weight: bold;
        font-size: 18px;
        line-height: 50px;
        border-top: 1px solid #d8d8d8;
    }
a:link {text-decoration: none}
a:visited {text-decoration: none}
a:hover {text-decoration: none;cursor: pointer}
a:active {text-decoration: none}
    .bg-black {
        background-color: rgba(0, 0, 0, 0.5);
        width: 100vw;
        height: 100vh;
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 5;
    }
</style>
 <script src="__PUBLIC__/home/js/jquery-1.8.3.min.js"></script>
</head>

<body>

<script type="text/javascript">
//alert('登录成功');

</script>

<div class="bg-black"></div>
<div class="log_sum">
    <div class="log1">登录成功</div>
    <a href="javascript:WeixinJSBridge.call('closeWindow');" class="log2">确 定</a>
</div>

<script type="text/javascript">

//window.setTimeout('closeWindow()',1000);
function closeWindow(){
//alert('这里');
WeixinJSBridge.call('closeWindow')
}
$('body').click();
</script>

</body>
</html>
